package com.huarui.company.error;

public enum CompanyError {
	DUPLICATED_TAXCODE("DUPLICATED_TAXCODE","重复的税号"),
	DUPLICATED_NAME("DUPLICATED_NAME","重复的公司名称"), 
	IS_NOT_PERMIT("IS_NOT_PERMIT","你已经是加入公司，无法创建公司"),
	CAN_NOT_REGISTER_AGAIN("CAN_NOT_REGISTER_AGAIN","该公司已经注册"),
	USER_IS_UNACTIVED("USER_IS_UNACTIVED","用户还未激活"),
	COMPANY_IS_NOT_EXIST("COMPANY_IS_NOT_EXIST","改公司不存在"),
	USER_HAS_NOT_REGISTER("USER_HAS_NOT_REGISTER","用户还没有注册"),
	ALREADY_BE_ACTIVED("ALREADY_BE_ACTIVED","已经被激活"),
	ALREADY_BE_MODIFY("ALREADY_BE_MODIFY","该公司信息已被修改,请在刷新页面后再进行修改"),
	DUPLICATED_CODE("DUPLICATED_CODE","重复的工商注册号");
	
	private String chError;
    
    private String enError;
	
	CompanyError(String enError,String chError){
		   
		   this.chError = chError;
		   this.enError = enError;
		   
	   }
	
	  public String getChError() {
			return chError;
		   }

		   public String getEnError() {
			return enError;
		}
}
